<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="数据监控">
        <device-luoxun-simplephase-monitor :data="data" />
      </a-tab-pane>

      <a-tab-pane key="2" tab="实时数据">
        <device-luoxun-simplephase-data :data="data"  />
      </a-tab-pane>

      <a-tab-pane key="3" tab="用电量">
        <device-luoxun-simplephase-date :data="data" />
      </a-tab-pane>

      <a-tab-pane key="4" tab="告警数据">
        <device-luoxun-simplephase-warn-data :data="data" />
      </a-tab-pane>

      <a-tab-pane key="5" tab="配置">
        <device-luoxun-simplephase-config-other :data="data" />
      </a-tab-pane>

      <a-tab-pane key="6" tab="推送情况">
        <device-luoxun-simplephase-config-queue :data="data" />
      </a-tab-pane>

      <a-tab-pane key="7" tab="关联设备">
        <device-luoxun-simplephase-link-device :data="data" />
      </a-tab-pane>

    </a-tabs>
  </div>
</template>

<script>
import DeviceLuoxunSimplephaseData from './luoxunsimplephase-data.vue';
import DeviceLuoxunSimplephaseWarnData from './luoxunsimplephase-warn-data.vue'
import DeviceLuoxunSimplephaseMonitor from "./luoxunsimplephase-monitor.vue";
import DeviceLuoxunSimplephaseConfigQueue from "./luoxunsimplephase-config-queue.vue";
import DeviceLuoxunSimplephaseConfigOther from './luoxunsimplephase-config-other.vue';
import DeviceLuoxunSimplephaseDate from './luoxunsimplephase-date.vue';
import DeviceLuoxunSimplephaseLinkDevice from './luoxunsimplephase-link-device.vue';

export default {
  name: 'DeviceLuoxunSimplephase',
  components: {
    DeviceLuoxunSimplephaseWarnData,
    DeviceLuoxunSimplephaseMonitor,
    DeviceLuoxunSimplephaseData,
    DeviceLuoxunSimplephaseConfigQueue,
    DeviceLuoxunSimplephaseConfigOther,
    DeviceLuoxunSimplephaseDate,
    DeviceLuoxunSimplephaseLinkDevice
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
